package com.slin.domain;

import lombok.Data;

@Data
public class Goods {
    /**
     *  商品ID
     */
    private Long id;

    /**
     * 店铺ID, 店铺id不会产生精度问题
     */
    private Long storeId;

    /**
     * 商品标题
     */
    private String title;

    public String getId() {
        return id.toString();
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
